package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 平台推广对象 pingtaituiguang
 * 
 * @author ruoyi
 * @date 2024-08-15
 */
public class Pingtaituiguang extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long pttgId;

    /** 照片 */
    @Excel(name = "照片")
    private String pttgImg;

    /** 备注 */
    @Excel(name = "备注")
    private String pttgBz;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date pttgStarttime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date pttgEndtime;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date pttgCreatetime;

    /** 状态 */
    @Excel(name = "状态")
    private Long pttgZt;

    public void setPttgId(Long pttgId) 
    {
        this.pttgId = pttgId;
    }

    public Long getPttgId() 
    {
        return pttgId;
    }
    public void setPttgImg(String pttgImg) 
    {
        this.pttgImg = pttgImg;
    }

    public String getPttgImg() 
    {
        return pttgImg;
    }
    public void setPttgBz(String pttgBz) 
    {
        this.pttgBz = pttgBz;
    }

    public String getPttgBz() 
    {
        return pttgBz;
    }
    public void setPttgStarttime(Date pttgStarttime) 
    {
        this.pttgStarttime = pttgStarttime;
    }

    public Date getPttgStarttime() 
    {
        return pttgStarttime;
    }
    public void setPttgEndtime(Date pttgEndtime) 
    {
        this.pttgEndtime = pttgEndtime;
    }

    public Date getPttgEndtime() 
    {
        return pttgEndtime;
    }
    public void setPttgCreatetime(Date pttgCreatetime) 
    {
        this.pttgCreatetime = pttgCreatetime;
    }

    public Date getPttgCreatetime() 
    {
        return pttgCreatetime;
    }
    public void setPttgZt(Long pttgZt) 
    {
        this.pttgZt = pttgZt;
    }

    public Long getPttgZt() 
    {
        return pttgZt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("pttgId", getPttgId())
            .append("pttgImg", getPttgImg())
            .append("pttgBz", getPttgBz())
            .append("pttgStarttime", getPttgStarttime())
            .append("pttgEndtime", getPttgEndtime())
            .append("pttgCreatetime", getPttgCreatetime())
            .append("pttgZt", getPttgZt())
            .toString();
    }
}
